package com.banyuan.single;

/**
 * @author 陶继发
 * @version 1.8
 */

//饿汉式
public class User {
    private static final  User user = new User();
    private User(){}

    public static User getInstance(){
        return  user;
    }

}
